package com.ideaaedi.commonds.constants;

import java.util.regex.Pattern;

/**
 * 正则常量
 *
 * @author <font size = "20" color = "#3CAA3C"><a href="https://gitee.com/JustryDeng">JustryDeng</a></font> <img
 * src="https://gitee.com/JustryDeng/shared-files/raw/master/JustryDeng/avatar.jpg" />
 * @since 1.0.0
 */
public interface PatternConstant {
    
    /**
     * 中文&中文标点正则
     * <br />
     * [\u4e00-\u9fa5]是中文，其余的是中文标点符号
     */
    Pattern CHINESE_PATTERN = Pattern.compile("[\u4e00-\u9fa5]|[\uFF01]|[\uFF0C-\uFF0E]|[\uFF1A-\uFF1B"
            + "]|[\uFF1F]|[\uFF08-\uFF09]|[\u3001-\u3002]|[\u3010-\u3011]|[\u201C-\u201D]|[\u2013-\u2014]|[\u2018"
            + "-\u2019]|[\u2026]|[\u3008-\u300F]|[\u3014-\u3015]");
}
